package com.tcoding.client.service.feign.admin;

import com.tcoding.client.service.feign.FeignAPI;
import com.tcoding.core.entity.TestData;
import com.tcoding.core.msg.TableResultResponse;
import feign.RequestLine;

import java.util.List;
import java.util.Map;

/**
 * @description:
 * @className: TestFeign
 * @author: liwen
 * @date: 2020/4/1 17:31
 */
public interface TestDataFeign extends FeignAPI {

    @RequestLine("GET /testData/queryAll")
    List<TestData> getAllData();

    @RequestLine("POST /testData/queryPage")
    TableResultResponse<TestData> getPageData(Map<String,Object> params);
}
